function hd() {
  let n = 1;
  return function() {
    let b = 1;
    return function() {
      console.log(++n, ++b);
    };
  };
}
var  a = hd()();
a(); //2,2
a(); //3,3
a(); 
console.log('-----------------------\n')
var  a = hd()();
a(); //2,2
a(); //3,3
a(); 